/**
 * @filename:SysApplication 2022年1月27日
 * @project Wonder wallet Framework  V1.0
 * Copyright(c) 2020 LuZhongren Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;


/**   
 * @Description:TODO(应用管理实体类)
 * 
 * @version: V1.0
 * @author: LuZhongren
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_application")
@ApiModel(value="application对象", description="应用管理表")
public class SysApplication extends Model<SysApplication> {

	private static final long serialVersionUID = 1643435283551L;
	
	@TableId(value ="app_id", type = IdType.AUTO)
	@ApiModelProperty(name = "app_id" , value = "")
	private Integer app_id;
    
 	@TableField(value = "application_name")
	@ApiModelProperty(name = "application_name" , value = "")
	private String application_name;
    
 	@TableField(value = "app_dir")
	@ApiModelProperty(name = "app_dir" , value = "")
	private String app_dir;
    
 	@TableField(value = "status")
	@ApiModelProperty(name = "status" , value = "")
	private Integer status;
    
 	@TableField(value = "app_type")
	@ApiModelProperty(name = "app_type" , value = "")
	private Integer app_type;
    
 	@TableField(value = "login_table")
	@ApiModelProperty(name = "login_table" , value = "")
	private String login_table;
    
 	@TableField(value = "login_fields")
	@ApiModelProperty(name = "login_fields" , value = "")
	private String login_fields;
    
 	@TableField(value = "domain")
	@ApiModelProperty(name = "domain" , value = "")
	private String domain;
    
 	@TableField(value = "pk")
	@ApiModelProperty(name = "pk" , value = "登录表主键")
	private String pk;
    

	@Override
    public Serializable pkVal() {
        return this.app_id;
    }
}
